.middle {
    height: calc(100% - 1.9rem);
    display: flex;
    flex-direction: row;
}

.rewards-container {
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: row;
    margin-left: calc(2rem + 50px); 
    align-items: center;
}

.invitation-rewards-div {
    width: 11.3rem;
    margin-right: 0.2rem;
    height: 7rem;
    background: url(../img/03/invitation-rewards-bg.png) no-repeat;
    background-size: contain;
    font-size: 0.16rem;
    padding: 0.35rem;
}

.channel-rewards-div {
    flex: 1;
    height: 3rem;
    background: url(../img/03/detail-bg.png) no-repeat;
    background-size: cover;
}

.invitation-top-div {
    margin: 0.2rem;
    display: flex;
    justify-items: center;
    justify-content: space-between;
}

.invitation-left-detail {
    font-size: 0.16rem;
    display: flex;
    line-height: 0.4rem;
}

.device-description {
    color: #FFEFC4;
    background-color: #8C6239;
    width: 1.6rem;
    height: 0.4rem;
    border-radius: 0.2rem;
    text-align: center;

}

.has-invitation-ally {
    line-height: 0.4rem;
    margin-left: 0.2rem;
    font-size: 0.22rem;
    color: #373023;

}

.ally-records {
    color: #ac5500;
    font-size: 0.22rem;
    text-decoration: underline;
    cursor: pointer;
}

.invitation-records {
    color: #ac5500;
    margin-left: 0.3rem;
    font-size: 0.22rem;
    cursor: pointer;
}

.records-div {
    display: flex;
}

.ally-rewards-div {
    padding: 0 0.3rem;
    display: flex;
    flex-direction: row;
}

.ally-rewards-title {
    height: 5.1rem;
    width: 0.8rem;
    padding: 0.7rem 0;
    text-align: center;
    font-size: 0.48rem;
    box-sizing: border-box;
    color: #373023;
    background: url(../img/03/left-ally-img.png) no-repeat;
    background-size: contain;
}

.ally-rewards-level {
    margin-left: 0.5rem;
    flex: 1;
}

.ally-div {
    width: 9.0rem;
    height: 1.6rem;
    background: url(../img/03/ally-div.png) no-repeat;
    background-size: contain;
    display: flex;
    margin-bottom: 0.25rem;
}

.ally-title {
    font-size: 0.32rem;
    color: #373023;
    width: 2.8rem;
    line-height: 1.6rem;
    text-align: center;
}

.ally-rewards-list {
    width: 3.6rem;
    display: flex;
    padding-top: 0.2rem;
}

.ally-rewards-item {
    margin-right: 0.2rem;
}

.ally-rewards-img {
    width: 1rem;
    height: 1rem;
    background: url(../img/03/ally-rewards-img.png) no-repeat;
    background-size: contain;
}

.ally-rewards-text {
    color: #663d15;
    font-size: 0.16rem;
    text-align: center;
}

.ally-btn {
    height: 0.6rem;
    margin:0.5rem 0 0 0.3rem;
    width: 2rem;
}
.received-btn{
    background: url(../img/03/received-btn.png) no-repeat;
    background-size: contain;
}